//   Copyright 2012,2013 Vaughn Vernon
//
//   Licensed under the Apache License, Version 2.0 (the "License");
//   you may not use this file except in compliance with the License.
//   You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//   Unless required by applicable law or agreed to in writing, software
//   distributed under the License is distributed on an "AS IS" BASIS,
//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//   See the License for the specific language governing permissions and
//   limitations under the License.

package com.saasovation.agilepm.application.product;

/**
 * 新产品命令
 * @author learn
 */
public class NewProductCommand {
    /**
     * 租户ID
     */
    private String tenantId;
    /**
     * 产品经理ID
     */
    private String productOwnerId;
    /**
     * 名字
     */
    private String name;
    /**
     * 内容描述
     */
    private String description;

    /**
     * 由以下参数构造 新产品命令
     * @param tenantId          租户ID
     * @param productOwnerId    产品经理ID
     * @param name              名字
     * @param description       内容描述
     */
    public NewProductCommand(String tenantId, String productOwnerId, String name, String description) {
        // 调用父类构造器
        super();

        this.tenantId = tenantId;
        this.productOwnerId = productOwnerId;
        this.name = name;
        this.description = description;
    }

    /**
     * 默认构造器
     */
    public NewProductCommand() {
        super();
    }

    /**
     * 获取租户ID
     * @return  返回字符串
     */
    public String getTenantId() {
        return tenantId;
    }

    /**
     * 设置租户ID
     * @param tenantId  租户ID
     */
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * 获取产品经理ID
     * @return  返回字符串
     */
    public String getProductOwnerId() {
        return productOwnerId;
    }

    /**
     * 设置产品经理ID
     * @param productOwnerId    产品经理ID
     */
    public void setProductOwnerId(String productOwnerId) {
        this.productOwnerId = productOwnerId;
    }

    /**
     * 获取名字
     * @return  返回字符串
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名字
     * @param name  名字
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取内容描述
     * @return  返回字符串
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置内容描述
     * @param description 内容描述
     */
    public void setDescription(String description) {
        this.description = description;
    }
}
